package com.yanfan.energy.domain.statist;

import java.io.Serializable;
import java.util.List;

/**
 * @author caijinkang
 * @date 2022年10月12日 11:19
 */
public class WorkDateStatistics implements Serializable {
    private String begin;
    private String end;
    private Integer unit;
    private List<WorkshopStatistics> workshopStatistics;

    public WorkDateStatistics(String begin, String end, Integer unit, List<WorkshopStatistics> workshopStatistics) {
        this.begin = begin;
        this.end = end;
        this.unit = unit;
        this.workshopStatistics = workshopStatistics;
    }

    public WorkDateStatistics() {
    }

    public String getBegin() {
        return begin;
    }

    public void setBegin(String begin) {
        this.begin = begin;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public Integer getUnit() {
        return unit;
    }

    public void setUnit(Integer unit) {
        this.unit = unit;
    }

    public List<WorkshopStatistics> getWorkshopStatistics() {
        return workshopStatistics;
    }

    public void setWorkshopStatistics(List<WorkshopStatistics> workshopStatistics) {
        this.workshopStatistics = workshopStatistics;
    }

    @Override
    public String toString() {
        return "WorkDateStatistics{" + "begin='" + begin + '\'' + ", end='" + end + '\'' + ", unit=" + unit + ", workshopStatistics=" + workshopStatistics + '}';
    }
}
